﻿using Appliaction.Dto.Pinv;
using AutoMapper;
using Domain.Entitys.Pinv;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Appliaction.Profiles.Pinv
{
    public class VendorProfile:Profile
    {
        public VendorProfile() 
        {
            CreateMap<pinv_vendor,VendorAddDto>().ReverseMap();
            CreateMap<pinv_vendor,VendorDeleteDto>().ReverseMap();
            CreateMap<pinv_vendor,VendorUpdateDto>().ReverseMap();
            //CreateMap<Pinv_Po,PoAddDto>().ReverseMap();
            CreateMap<Pinv_Po,PoDeleteDto>().ReverseMap();
            CreateMap<Pinv_Po,PoUpdateDto>().ReverseMap();
        }
    }
}
